package com.cypress.dms.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.cypress.dms.entity.Resource;

import java.util.List;

/**
 * 資源表;(resource)表数据库访问层
 *
 * @author :
 * @date : 2025-9-28
 */
@Mapper
public interface ResourceMapper extends BaseMapper<Resource> {

    List<Resource> selectByParentId(@Param("parentResourceId") Long parentResourceId, @Param("granteeId") String granteeId);
}